package com.woniu.humanresource.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Employees {
//    主键
    @ExcelIgnore
    private Integer id;
//    姓名
    @ExcelProperty(value = "姓名")
    private String name;
//    电话
    @ExcelProperty(value = "电话")
    private String telephone;
//    年龄
    @ExcelProperty(value = "年龄")
    private Integer age;
//    性别
    @ExcelProperty(value = "性别")
    private String gender;
//    职位
    @ExcelProperty(value = "职位")
    private String position;
//    部门表外键
    @ExcelProperty(value = "did")
    private Integer did;
//    管理员状态
    @ExcelProperty(value = "管理员状态")
    private Integer estatus;
//    员工详细信息外键
    @ExcelProperty(value = "eid")
    private Integer eid;
//    员工培训表外键
    @ExcelProperty(value = "pid")
    private Integer pid;
//    工号
    @ExcelProperty(value = "工号")
    private String number;


//EmployeeInformation详细信息的参数
    //    身份证号码
    @ExcelProperty(value = "身份证号码")
    private String idNum;
    //    入职渠道
    @ExcelProperty(value = "入职渠道")
    private String channel;
    //    头像信息
    @ExcelProperty(value="头像信息")
    private String headImg;
    //    学历
    @ExcelProperty(value = "学历")
    private String record;
    //    入职时间
    @ExcelProperty(value = "入职时间")
    private Date date;
    //    在职状态
    @ExcelProperty(value = "状态")
    private Integer state;
    //    现住址
    @ExcelProperty(value = "现住址")
    private String currentAddress;
    //    户籍地址
    @ExcelProperty(value = "户籍地址")
    private String householdAddress;
    //    紧急联系人
    @ExcelProperty(value = "紧急联系人")
    private String emergencyContact;
    //    紧急联系人电话
    @ExcelProperty(value = "紧急联系人电话")
    private String emergencyContactNumber;
    //    毕业院校
    @ExcelProperty(value = "毕业院校")
    private String school;
    //    民族
    @ExcelProperty(value = "民族")
    private String national;
    //    用工类型
    @ExcelProperty(value = "用工类型")
    private String type;
    //    部门
    @ExcelProperty(value = "部门")
    private String department;
    @ExcelProperty(value = "positionid")
    private Integer positionid;
//入职起始时间
    private Date beginDate;
//    入职终止时间
    private Date endDate;
    @ExcelProperty("在职情况")
    private String isactive;
    @ExcelProperty("empstatus")
    private Integer empstatus;
}
